From: robertl Date: Tue, 17 Aug 2010 21:42:20 +0000 (+0000) Subject: Fix typo in yesterday's KML change. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~16^2~20 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d67b457d709eef3a009ec4af5f4642f2ae050408;p=gpsbabel.git Fix typo in yesterday's KML change. --- diff --git a/kml.c b/kml.c index 479836f16..642499aca 100644 --- a/kml.c +++ b/kml.c @@ -243,7 +243,7 @@ void wpt_coord(const char *args, const char **attrv) double lat, lon, alt; // Alt is actually optional. n = sscanf(args, "%lf,%lf,%lf", &lat, &lon, &alt); - if (n > 2) { + if (n >= 2) { wpt_tmp->latitude = lat; wpt_tmp->longitude = lon; }